package com.example.demo.Service.Impl;

import com.example.demo.Annoation.MyHandlerAnnotation;
import com.example.demo.Service.MyHandler;
import org.springframework.stereotype.Component;

@Component
@MyHandlerAnnotation(value="2")
public class SecondHandlerImpl implements MyHandler {

    @Override
    public String handler() {
       return  "SecondHandlerImpl";
    }
}
